package com.app.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author zxy
 * @since 2021-04-07
 */
@Data
  @EqualsAndHashCode(callSuper = false)
    public class Banner implements Serializable {

    private static final long serialVersionUID = 1L;

      /**
     * 主键
     */
        @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      /**
     * 地址
     */
      private String url;

      /**
     * 权重
     */
      private Integer weight;

      /**
     * 逻辑删除
     */
      @TableLogic
    private String deleted;


}
